package chaoyue.study.feature.time;

import java.time.LocalDateTime;
import java.time.ZoneId;
import java.time.ZonedDateTime;

public class ZonedDateTimeTest {
    public static void main(String[] args) {
        ZonedDateTime now = ZonedDateTime.now();
        System.out.println(now);

        ZonedDateTime time1 = ZonedDateTime.of(LocalDateTime.now(), ZoneId.systemDefault());
        System.out.println(time1);
    }
}
